const Mock = require('mockjs');

Mock.mock("/a", "get", () => {
    return Mock.mock({
        date:[
            {
                countries: 'a1',
                consumption: 565941204
            },
            {
                countries: 'a2',
                consumption: 563956120
            },
            {
                countries: 'a3',
                consumption: 535451202
            },
            {
                countries: 'a4',
                consumption: 545231201
            },
            {
                countries: 'a5',
                consumption: 525631201
            },
            {
                countries: 'a6',
                consumption: 565943200
            },
        ]
    })
})
